import { Page } from '../generic/Page'

export class SearchNearbyShopsPage extends Page {
  public keyword: string
  public latitude: number
  public longitude: number
  public provinceCode?: number
  private cityCode?: number
  private districtCode?: number

  /**
   * 分类
   */
  public shopCategory: number
  /**
   * 排序
   */
  public sort: number
  /**
   * 收餐方式
   */
  public businessType: number
  /**
   * 声誉
   */
  public reputation: number[]
}

/**
 * 关注的店铺分页dto
 *
 * @author zhuangjie
 * @date 2024/05/07
 */
export default class FollowShopPage extends Page {
  /** 纬度 */
  public latitude: number

  /** 经度 */
  public longitude: number

  // /** 省份编码 */
  // public provinceCode: number

  // /** 城市编码 */
  // public cityCode?: number

  // /** 区域编码 */
  // public districtCode?: number

  /** 搜索的关键词 */
  public keyword?: string
}
